<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>用户</title>
    <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen" />
</head>
<body>
<!-- 顶栏 -->
<div th:replace="seller/topp"></div>
<!-- 中间主体 -->
<div class="container" id="content">
    <div class="row">
        <div th:replace="seller/menu::menu"></div>
        <div class="col-md-10">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="row">

                        <h3>用户管理模块</h3>

<!--                        <form class="bs-example bs-example-form col-md-5" role="form" style="margin: 20px 0 10px 0;" action="#" id="form1" method="post">-->
<!--                            <div class="input-group">-->
<!--                                <input type="text" class="form-control" placeholder="请输入名称" name="findByName">-->
<!--                                <span class="input-group-addon btn" onclick="document.getElementById('form1').submit" id="sub">搜索</span>-->
<!--                            </div>-->
<!--                        </form>-->

<!--                        <button class="btn btn-default col-md-2" style="margin-top: 20px" onClick="location.href=‘#’">-->
<!--                            添加用户-->
<!--                            <sapn class="glyphicon glyphicon-plus"/>-->
<!--                        </button>-->

                    </div>
                </div>
                <!--选择用户信息显示-->
                <div id="Menu1" align="Left">
                    <div id="MenuContent">
                        <a th:href="@{viewShowUser?choice=information1Field}">基本信息1</a>
                        <img src="../images/separator.gif" />
                        <a th:href="@{viewShowUser?choice=information2Field}">基本信息2</a>
                        <img src="../images/separator.gif" />
                        <a th:href="@{viewShowUser?choice=profileField}">个人简介</a>
                        <img src="../images/separator.gif" />
                        <a th:href="@{viewShowUser?choice=passwordField}">账号与密码</a>
                        </a>
                    </div>
                </div>

                    <div th:if="${choice==nulll}">
                        <div th:replace="seller/mUser/includeInformation1::information1Field"></div></div>
                <div th:if="${choice=='information1Field'}">
                    <div th:replace="seller/mUser/includeInformation1::information1Field"></div></div>
                <div th:if="${choice=='information2Field'}">
                    <div th:replace="seller/mUser/includeInformation2::information2Field"></div></div>
                <div th:if="${choice=='profileField'}">
                    <div th:replace="seller/mUser/includeProfile::profileField"></div></div>
                <div th:if="${choice=='passwordField'}">
                    <div th:replace="seller/mUser/includePassword::passwordField"></div></div>


        </div>
    </div>
</div>
</div>
</body>
</html>